# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-beetle-wswan
pkgver=0_git20200124
pkgrel=0
_commit="5b03d1b09f70dc208387d3c8b59e12e1f0d2692f"
pkgdesc="standalone fork of Mednafen WonderSwan to libretro"
url="https://github.com/libretro/beetle-wswan-libretro"
arch="all"
license="GPL-2.0-only"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/beetle-wswan-libretro/archive/$_commit.tar.gz"
builddir="$srcdir/beetle-wswan-libretro-$_commit"
options="!check" # No tests

build() {
	make
}

package() {
	install -Dm644 mednafen_wswan_libretro.so "$pkgdir"/usr/lib/libretro/mednafen_wswan_libretro.so
}

sha512sums="aa192acd25defdbe8a8db283a3d8273cb9822487f6fa627233e72ecde8c7c0fbd7d93d3b810065409f527a413e8f03e11eae58d7f284dce668e1e9569b3e821a  libretro-beetle-wswan-5b03d1b09f70dc208387d3c8b59e12e1f0d2692f.tar.gz"
